import request from '@/pages/utils/request'


export function tradeNo(data) {
  console.log("data","post1",data);
  return request.post('/alipay/order1', {}, {
    header: {
      'Content-Type': 'application/json'
    }
  })
}


export function checkupdate(data) {
  return request.post('/alipay/checkupdate', data, {
    header: {
      'Content-Type': 'application/json'
    }
  })
}

export function createOrder(data) {
  console.log("data","post1",data);
  return request.post('/order/insertOrder', {}, {
    header: {
      'Content-Type': 'application/json'
    }
  })
}